import Vue from 'vue'
import App from './App.vue'
import router from './router'
import EasyUI from './easyui'
Vue.use(EasyUI)

Vue.config.productionTip = false

// 此处为演示vuex使用，非uView的功能部分
import store from '@/store'

const app = new Vue({
	router,
	store: store,
	...App
})

// http拦截器，将此部分放在new Vue()和app.$mount()之间，才能App.vue中正常使用
import httpInterceptor from '@/common/http.interceptor.js'
Vue.use(httpInterceptor, app)

// http接口API抽离，免于写url或者一些固定的参数
import httpApi from '@/common/http.api.js'
Vue.use(httpApi, app)

// 页面跳转
import jumpwayMapper from "@/common/jump.mapper.js"
Vue.use(jumpwayMapper, app)

import jumpwayAccess from "@/common/jump.access.js"
Vue.use(jumpwayAccess, app)

import user from "@/common/user.manager.js"
Vue.use(user, app)



app.$mount("#app")
